package ae.pcfc.cldos.online.common.messaging;

import javax.jms.ExceptionListener;
import javax.jms.JMSException;

import org.apache.log4j.Logger;

/**
 * 
 * @author arosa
 *
 */
public class JMSExceptionLogListener implements ExceptionListener {

	public void onException(JMSException e) {
		Logger logger = Logger.getLogger(e.getClass());
		logger.fatal("Critical error", e);
	}

}
